﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="CPR_DATA_PAGE.ascx.cs"
    Inherits="UserControl_CPR_DATA_PAGE" %>
<%@ Register Src="~/UserControl/GridPager.ascx" TagName="GridPager" TagPrefix="uc1" %>
<asp:Repeater ID="rptMeasure" runat="server" OnItemDataBound="rptMeasure_ItemDataBound">
    <ItemTemplate>
        <table id="wsd_inputtable" width="100%">
            <tr>
                <td class="tabletitle">
                    品牌/口味:<%# DataBinder.Eval(Container.DataItem, "BRAND_NAME")%>/<%# DataBinder.Eval(Container.DataItem, "NAME")%>
                </td>
            </tr>
        </table>
        <table id="wsd_listtable" width="100%">
            <tr>
                <td style="width: 100%">
                    <asp:GridView BorderWidth="0" Width="100%" ID="gvMeasureTransation" runat="server"
                        OnRowDataBound="gv_RowDataBound" AutoGenerateColumns="false" EmptyDataText="没有可显示的数据."
                        EmptyDataRowStyle-Font-Bold="true" EmptyDataRowStyle-HorizontalAlign="Center"
                        EnableEmptyContentRender="true">
                        <HeaderStyle CssClass="titlist" />
                        <EmptyDataRowStyle HorizontalAlign="Center" Font-Bold="True"></EmptyDataRowStyle>
                        <Columns>
                            <asp:BoundField HeaderText="指标明细" DataField="MEASUREMENTNAME">
                                <ItemStyle Width="50%" />
                            </asp:BoundField>
                            <asp:BoundField HeaderText="采集结果" DataField="VALUE">
                                <ItemStyle Width="50%" />
                            </asp:BoundField>
                        </Columns>
                        <PagerSettings Mode="NumericFirstLast" PageButtonCount="30" />
                        <RowStyle CssClass="evenline" />
                        <AlternatingRowStyle CssClass="oddline" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    </ItemTemplate>
</asp:Repeater>
